Class InfomapImplementation
java.lang.Object
edu.claflin.finder.algo.clustering.struct.infomap_struct.InfomapImplementation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate RelativeUndirectedBitLengthprivate doubleprivate static final intprivate Graph -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncluster()fine_tuning(Graph g) doubleprivate intgetNodeModule(Node node) private doublemodularityGain(Node node, int currentModule, int targetModule) private voidprivate voidPuts each node in its own moduleprivate void
-
Field Details
-
MAX_ITERATIONS
private static final int MAX_ITERATIONS- See Also:
-
originalGraph
-
nodeToModule
-
moduleMembers
-
bitLengthCalculator
-
bestBitLength
private double bestBitLength -
codeLengthThreshold
private double codeLengthThreshold
-
-
Constructor Details
-
InfomapImplementation
-
-
Method Details
-
cluster
-
getCommunities
-
moveNode
-
oneModulePerNode
Puts each node in its own module -
getNodeModule
-
optimize
-
fine_tuning
-
coarse_tuning
-
modularityGain
-
getBestBitLength
public double getBestBitLength()
-